package com.gift.recommendation.modules.admin.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gift.recommendation.Base.PageParam;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author zzh <2658137258@qq.com>
 * @date 2023/3/31
 */
@Data
public class GoodsSaleStatusReq extends PageParam implements Serializable {
    // 1 购买量正向排序 2 购买量逆向排序
    private Integer sort;

    //按时间查询
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private List<Date> times;
}
